package com.hf.threaddemo;

import com.hf.objio.Teacher;

public class TestDriver {
    public static void main(String[] args) {
        test01();
    }
    /**
     * 多线程的执行
     */
    public static void test01(){
        //创建线程
        Thread thread = new ThreadOne();
        //启动
        thread.start();
        //创建线程
        Thread thread1 = new Thread(new ThreadTwo());
        //启动
        thread1.start();

    }
}
